gdk: Don't create surfaces of size 0x0
authorMatthias Clasen <mclasen@redhat.com>
Thu, 10 Sep 2020 17:56:44 +0000 (13:56 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 10 Sep 2020 17:56:44 +0000 (13:56 -0400)
commit2113f98c5c4dab041503a214e4b5e8e6a793db94
tree00ec8d4cea0e84533e2a0ee5cf669489b0bc8dc1
parentb9d4654fcaeb0313845f221135f4236c24ad2248
gdk: Don't create surfaces of size 0x0

Don't pass 0x0 as size when calling gdk_surface_new().
The Wayland backend takes us literally, and we end
up with a surface that (temporarily) has these
dimensions, confusing other APIs that we pass the
size to, such as Vulkan.
gdk/gdksurface.c